package com.itheima.oop.d2_thisdemo;

public class Student {
    String name;
    double score;
    //写一个方法 来输出分数
    public void scorePass(double score){
        if(this.score > score){
            System.out.println("通过");
        }else{
            System.out.println("不通过");
        }
    }
}
